home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
LOGIC Apps
/
Logic-APPLE_II_APPS.iso
/
pc
/
LOGIC Apple II 5.25" Library - DOS Part 2
/
DOS028.dsk
/
OFF THE WALL.int
< prev
next >
Wrap
Text File
|
2012-02-16
|
2KB
|
78 lines
10 CALL -936
20 VTAB 3:TAB 14:PRINT "OFF THE WALLS"
30 VTAB 10:TAB 14:PRINT "BY GARY CARR"
40 FOR DELAY=1 TO 2000:NEXT DELAY
50 CALL -936
60 VTAB 10:TAB 7:PRINT "DO YOU REQUIRE INFORMATION(Y/N)"
70 INPUT A$:IF A$(1,1)#"Y" THEN 130
80 VTAB 10:PRINT "OFF THE WALLS IS A GAME IN WHICH A BOUNCING BALL'S SPEED AND DIRECTION ARE CONTROLLED BY THE GAME CONTROLS"
90 VTAB 16:PRINT "THE OBJECT OF THE GAME IS TO DESTROY EVERYTHING EXCEPT THE BALL IN AS FEW BOUNCES AS POSSIBLE."
100 PRINT "IF YOUR AN EXPERT TRY A BALL COLOR OF 0 GOOD LUCK"
110 VTAB 22:PRINT "PRESS ANY NUMBER THEN RETURN TO BEGIN":PRINT "PRESS ANY KEY TO EXIT THE PROGRAM"
120 INPUT Z
130 GR
140 GOSUB 150:GOTO 210
150 FOR I=0 TO 14 STEP 2
160 TAB 2*I+4:PRINT I;
170 NEXT I:PRINT
180 FOR I=1 TO 15 STEP 2
190 TAB 2*I+4:PRINT I;
200 NEXT I:RETURN
210 GR :FOR I=0 TO 31:COLOR= I/2:VLIN 0,38 AT I+3:NEXT I
220 COLOR= 5:VLIN 0,39 AT 2:VLIN 0,39 AT 35:HLIN 2,35 AT 0:HLIN 2,35 AT 39
230 PRINT :PRINT
240 INPUT "WHAT COLOR WOULD YOU LIKE THE BALL",BALL
250 IF BALL>-1 AND BALL<16 THEN GOTO 270
260 PRINT "COLORS ARE 0 TO 15 ONLY":GOTO 240
270 GOSUB 150:PRINT :PRINT
280 INPUT "WHAT COLOR WOULD YOU LIKE THE TARGETS",TARGETS
290 GOSUB 150:PRINT :PRINT
300 INPUT "WHAT COLOR WOULD YOU LIKE THE BORDER",B
310 PRINT :PRINT
320 GR
330 COLOR= B
340 HLIN 0,39 AT 0
350 HLIN 0,39 AT 39
360 VLIN 0,39 AT 0
370 VLIN 0,39 AT 39
380 COLOR= TARGETS
390 FOR X=3 TO 36 STEP 3
400 FOR X=3 TO 36 STEP 3
410 FOR Y=3 TO 36 STEP 6
420 PLOT X,Y
430 NEXT Y
440 NEXT X
450 XOLD=20
460 YOLD=38
470 XSPEED=1
480 YSPEED=1
490 XNEW=XOLD+XSPEED*PDL (0)/70
500 IF (XNEW>-1) AND (XNEW<40) THEN GOTO 580
510 X= PEEK (-16336)
520 XSPEED=-1*XSPEED
530 S=S+1
540 TAB 21:VTAB 23:PRINT S+T
550 POKE 50,63
560 X= PEEK (-16336)
570 GOTO 490
580 YNEW=YOLD+YSPEED*PDL (1)/70
590 IF (YNEW>-1) AND (YNEW<40) THEN GOTO 670
600 X= PEEK (-16336)
610 YSPEED=-1*YSPEED
620 T=T+1
630 TAB 21:VTAB 23:PRINT S+T
640 POKE 50,255
650 X= PEEK (-16336)
660 GOTO 580
670 COLOR= BALL
680 PLOT XNEW,YNEW
690 COLOR= 0
700 PLOT XOLD,YOLD
710 XOLD=XNEW
720 YOLD=YNEW
730 IF PEEK (-16384)>127 THEN 750
740 GOTO 490
750 POKE -16368,0
760 TEXT :CALL -936: POKE 50,255
770 END